package com.olddriver.crm.mapper;

import com.olddriver.crm.domain.Employee;
import com.olddriver.crm.domain.Claims;
import com.olddriver.crm.query.ClaimsQueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClaimsMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Claims record);

    Claims selectByPrimaryKey(Long id);

    List<Claims> selectAll();

    int updateByPrimaryKey(Claims record);

    int queryTotal(ClaimsQueryObject qo);

    List<Claims> queryRows(ClaimsQueryObject qo);

    void changeBillState(@Param("id") Long id, @Param("value") Integer value); //改变保单状态
}